\hypertarget{classAprilTags_1_1Segment}{}\doxysection{April\+Tags\+::Segment Class Reference}
\label{classAprilTags_1_1Segment}\index{AprilTags::Segment@{AprilTags::Segment}}


Represents a line fit to a set of pixels whose gradients are similiar.  




{\ttfamily \#include $<$Segment.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a3ee10ae7f992370bbc3f1c3a373cb9da}\label{classAprilTags_1_1Segment_a3ee10ae7f992370bbc3f1c3a373cb9da}} 
float {\bfseries get\+X0} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a65b81ba46a9d9f9c2c23777711e5d587}\label{classAprilTags_1_1Segment_a65b81ba46a9d9f9c2c23777711e5d587}} 
void {\bfseries set\+X0} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a25d0a221b7198fed10b4fe42db2699f4}\label{classAprilTags_1_1Segment_a25d0a221b7198fed10b4fe42db2699f4}} 
float {\bfseries get\+Y0} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_afd34375de75a4a74dd13b2afa5c53a3c}\label{classAprilTags_1_1Segment_afd34375de75a4a74dd13b2afa5c53a3c}} 
void {\bfseries set\+Y0} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a6202e0064d32b8e9369b074a19347cae}\label{classAprilTags_1_1Segment_a6202e0064d32b8e9369b074a19347cae}} 
float {\bfseries get\+X1} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a299cf8d022f900a487deedf8bfe3a86d}\label{classAprilTags_1_1Segment_a299cf8d022f900a487deedf8bfe3a86d}} 
void {\bfseries set\+X1} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_ae36c68c01bbc4dca64c0dce10c0aec52}\label{classAprilTags_1_1Segment_ae36c68c01bbc4dca64c0dce10c0aec52}} 
float {\bfseries get\+Y1} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a295ce3eb26c09bc74408d4777459490c}\label{classAprilTags_1_1Segment_a295ce3eb26c09bc74408d4777459490c}} 
void {\bfseries set\+Y1} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a1d601f9d6f4aca93cefd2034e3b21e91}\label{classAprilTags_1_1Segment_a1d601f9d6f4aca93cefd2034e3b21e91}} 
float {\bfseries get\+Theta} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a63f799ec95ae612855d188b3b8c02499}\label{classAprilTags_1_1Segment_a63f799ec95ae612855d188b3b8c02499}} 
void {\bfseries set\+Theta} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_aff9af9d1761cc2f008e73e78a84f6ecc}\label{classAprilTags_1_1Segment_aff9af9d1761cc2f008e73e78a84f6ecc}} 
float {\bfseries get\+Length} () const
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_aa89141ccf9fba7c63acf708b3cb2bfb2}\label{classAprilTags_1_1Segment_aa89141ccf9fba7c63acf708b3cb2bfb2}} 
void {\bfseries set\+Length} (float new\+Value)
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a310ad93816357ce47c9cff24522006ee}\label{classAprilTags_1_1Segment_a310ad93816357ce47c9cff24522006ee}} 
float \mbox{\hyperlink{classAprilTags_1_1Segment_a310ad93816357ce47c9cff24522006ee}{segment\+Length}} ()
\begin{DoxyCompactList}\small\item\em Returns the length of the \mbox{\hyperlink{classAprilTags_1_1Segment}{Segment}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a81a4b7cc054528fd687254f670a905a0}\label{classAprilTags_1_1Segment_a81a4b7cc054528fd687254f670a905a0}} 
void \mbox{\hyperlink{classAprilTags_1_1Segment_a81a4b7cc054528fd687254f670a905a0}{print\+Segment}} ()
\begin{DoxyCompactList}\small\item\em Print endpoint coordinates of this segment. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a2fcd8b4995a31c29f450b4cdd22c9868}\label{classAprilTags_1_1Segment_a2fcd8b4995a31c29f450b4cdd22c9868}} 
int \mbox{\hyperlink{classAprilTags_1_1Segment_a2fcd8b4995a31c29f450b4cdd22c9868}{get\+Id}} () const
\begin{DoxyCompactList}\small\item\em ID of \mbox{\hyperlink{classAprilTags_1_1Segment}{Segment}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a3f8b46b502b2f6e410ab78dfa0c71a78}\label{classAprilTags_1_1Segment_a3f8b46b502b2f6e410ab78dfa0c71a78}} 
std\+::vector$<$ \mbox{\hyperlink{classAprilTags_1_1Segment}{Segment}} $\ast$ $>$ {\bfseries children}
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_a10db46ff3cfd25f5d73e7451bd71476b}\label{classAprilTags_1_1Segment_a10db46ff3cfd25f5d73e7451bd71476b}} 
static int const \mbox{\hyperlink{classAprilTags_1_1Segment_a10db46ff3cfd25f5d73e7451bd71476b}{minimum\+Segment\+Size}} = 4
\begin{DoxyCompactList}\small\item\em Minimum number of pixels in a segment before we\textquotesingle{}ll fit a line to it. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classAprilTags_1_1Segment_ad7d7d2a1e6e4d6da6fac67e812492356}\label{classAprilTags_1_1Segment_ad7d7d2a1e6e4d6da6fac67e812492356}} 
static float const \mbox{\hyperlink{classAprilTags_1_1Segment_ad7d7d2a1e6e4d6da6fac67e812492356}{minimum\+Line\+Length}} = 4
\begin{DoxyCompactList}\small\item\em In pixels. Calculated based on minimum plausible decoding size for Tag9 family. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Represents a line fit to a set of pixels whose gradients are similiar. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
calico/third\+\_\+party/apriltags/apriltags/Segment.\+h\item 
calico/third\+\_\+party/apriltags/src/Segment.\+cc\end{DoxyCompactItemize}
